package cn.fan.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("view")
public class ViewController {

    @GetMapping("test")
    public String test(){
        return "test";
    }

    @GetMapping("test2")
    public String test2(){
        return "test2";
    }

    @GetMapping("test3")
    public String test3(){
        return "test/test3";
    }

    @GetMapping("index")
    public String index(){
        return "index";
    }

    @GetMapping("login")
    public String login(){
        return "user/login";
    }


}
